class CreateSemesterRegistrations < ActiveRecord::Migration
  def self.up
    create_table :semester_registrations do |t|
      t.column  :student_id,      :integer
      t.column  :semester_id,     :integer
      t.column  :open_datetime,   :datetime
      t.column  :close_datetime,  :datetime
    end
  end

  def self.down
    drop_table :semester_registrations
  end
end
